﻿using System.Reflection;
using System.Windows;
using System.Windows.Controls;

namespace ComicTool
{
    public partial class About : ChildWindow
    {
        public About()
        {
            InitializeComponent();

            AssemblyName name = new AssemblyName(Assembly.GetExecutingAssembly().FullName);
            version.Text = name.Version.ToString();
        }

        private void OKButton_Click(object sender, RoutedEventArgs e)
        {
            this.DialogResult = true;
        }

        private void CancelButton_Click(object sender, RoutedEventArgs e)
        {
            this.DialogResult = false;
        }
    }
}

